
#include "wdt.h"

/*************************************************************************
 Function Prototype : void EnableWDT(WDT_STATE state)

 Include            : wdt.h

 Description        : This function enables/disables Watchdog Timer.
 
 Arguments          : state - This is the state to enable or disable the
                      watchdog timer.
                      WDT_DISABLE
                      WDT_ENABLE
                      
 Return Value       : None. 
 
 Remarks            : None.
 *************************************************************************/

void EnableWDT(WDT_STATE state)
{
    RCONbits.SWDTEN = state;
}

